/**
 * DishListXM.java
 * Nov 14, 2013
 * Copyright: phongtdse60732@fpt.edu.vn
 */
package XMLEntities;

import java.util.ArrayList;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

/**
 * @author Lubu
 * @version 1.0
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "dishList" })
@XmlRootElement(name = "DishList")
public class DishListXM {
	@XmlElement(required = true, name = "Dish")
	private ArrayList<DishXM> dishList;

	public DishListXM() {
		dishList = new ArrayList<DishXM>();
	}

	public DishListXM(ArrayList<DishXM> dishList) {
		super();
		this.dishList = dishList;
	}

	/**
	 * Get value of the dishList
	 * @return the dishList
	 */
	public ArrayList<DishXM> getDishList() {
		return dishList;
	}

	/**
	 * Set value for the dishList
	 * @param dishList the dishList to set
	 */
	public void setDishList(ArrayList<DishXM> dishList) {
		this.dishList = dishList;
	}
	
	
}
